package com.woniuxy02;

import java.util.Arrays;

/**
 * @author 作者
 * @create 2025-07-18 15:03
 */
public class Test01 {
    public static void main(String[] args) {
        int[] a = {1,31,24,5,6};
        //将数组中所有的元素，拼接成一个字符串
        //Arrays.toString(a)
        System.out.println(Arrays.toString(a));
        Arrays.sort(a);
        System.out.println(Arrays.toString(a));
    }
}
